home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / dos_win / winsock / maillist / 94-05.Z / 94-05 / 000284_MarkW@ms70.nuw….sea06.navy.mil_Fri May 20 01:18:00 1994.msg < prev    next >
Internet Message Format  |  1994-05-31  |  7KB

  1. Received: from kpt.nuwc.navy.mil by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  2.           id AA18746; Fri, 20 May 1994 11:20:18 -0400
  3. Received: from ms70.nuwes.sea06.navy.mil ([140.178.70.3]) by kpt.nuwc.navy.mil with SMTP id AA00958
  4.   (5.65c/IDA-1.4.4 for winsock@SunSITE.Unc.EDU); Fri, 20 May 1994 08:07:21 -0700
  5. Received: by ms70.nuwes.sea06.navy.mil with Microsoft Mail
  6.     id <2DDCD4F8@ms70.nuwes.sea06.navy.mil>; Fri, 20 May 94 08:19:20 PDT
  7. From: West Mark                5741 <MarkW@ms70.nuwes.sea06.navy.mil>
  8. To: winsock <winsock@SunSITE.Unc.EDU>
  9. Subject: RE: win32 sockets
  10. Date: Fri, 20 May 94 08:18:00 PDT
  11. Message-Id: <2DDCD4F8@ms70.nuwes.sea06.navy.mil>
  12. Encoding: 44 TEXT
  13. X-Mailer: Microsoft Mail V3.0
  14.  
  15.  
  16. 1) I had the same problem when I created an extended winsock dll and an FTP 
  17. dll. Since dll's can't accept messages I had to pass the handle of the GUI's 
  18. window down into the dlls and the when the GUI receives a winsock message it 
  19. simply calls the dll's handler with the message's parameters. But you are 
  20. using a service so I guess this fix does'nt apply to you.
  21.  
  22.                         - BUT -
  23.  
  24. 2) Win32 (NT and Chicago) use peemptive multitasking so using regular select 
  25. will block only your service, not anything else. The asynchselect is still 
  26. nice under win32 in that it provides for event driven coding but it sounds 
  27. to me like you can't use it.
  28.  
  29.  -Mark West
  30.  
  31.  ----------
  32. From: winsock
  33. To: Multiple recipients of list
  34. Subject: win32 sockets
  35. Date: Thursday, May 19, 1994 5:12PM
  36.  
  37. I've got a problem with win32 and winsock.  What I want is one thread
  38. that listens to one of two input sources, either a socket or (in my
  39. case) a Sybase connection.  My problem is that I've set the Sybase
  40. connection to signal me with a win32 event when it is done, but I have
  41. a problem with telling when the socket is ready to read.
  42.  
  43. I could use WSAAsyncSelect, but I'm going to be running this as a
  44. service, and it's not clear to me (and others, apparently) under what
  45. circumstances a service can create a window (as requred for
  46. WSAAsyncSelect).  If I could create a window, I cound use
  47. MsgWaitForMultipleObjects() to do what I want.  Since I'll be a
  48. service, I'd rather not use a window anyway.
  49.  
  50. What I really want is something similar to WSAAsyncSelect that uses a
  51. win32 event to signal when it is ready.
  52.  
  53. Any suggestions?  Has anyone else faced this problem?  What solution
  54. did you use?
  55.  
  56. TIA.
  57.  
  58. Eric.
  59. From MarkW@ms70.nuwes.sea06.navy.mil Fri May 20 01:30:00 1994
  60. Received: from kpt.nuwc.navy.mil by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  61.           id AA21754; Fri, 20 May 1994 11:32:08 -0400
  62. Received: from ms70.nuwes.sea06.navy.mil ([140.178.70.3]) by kpt.nuwc.navy.mil with SMTP id AA00974
  63.   (5.65c/IDA-1.4.4 for winsock@SunSITE.Unc.EDU); Fri, 20 May 1994 08:19:28 -0700
  64. Received: by ms70.nuwes.sea06.navy.mil with Microsoft Mail
  65.     id <2DDCD7CF@ms70.nuwes.sea06.navy.mil>; Fri, 20 May 94 08:31:27 PDT
  66. From: West Mark                5741 <MarkW@ms70.nuwes.sea06.navy.mil>
  67. To: winsock <winsock@SunSITE.Unc.EDU>
  68. Subject: Daytona SLIP, PPP
  69. Date: Fri, 20 May 94 08:30:00 PDT
  70. Message-Id: <2DDCD7CF@ms70.nuwes.sea06.navy.mil>
  71. Encoding: 13 TEXT
  72. X-Mailer: Microsoft Mail V3.0
  73.  
  74.  
  75. As a member of the Microsoft Developer Network level 2 I got a copy fo the 
  76. Daytona Beta. Let me assure you that I really like it, they are supporting 
  77. internetworking very seriously with this package. Anyway, I set up RAS and I 
  78. can RAS in from a remote WFW machine just fine. But I can't SLIP in at all. 
  79. I'm quite sure I set up the SLIP server correctly. I could find NO 
  80. DOCUMENTATION AT ALL anywhere on the two CD's that covers the SLIP script 
  81. expected.
  82.  
  83. Does anyone (J. Allard?) know details about the sequence of commands that 
  84. the Daytona RAS requires for SLIP connection?
  85.  
  86.  -Mark West
  87. From MarkW@ms70.nuwes.sea06.navy.mil Fri May 20 01:41:00 1994
  88. Received: from kpt.nuwc.navy.mil by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  89.           id AA24824; Fri, 20 May 1994 11:44:00 -0400
  90. Received: from ms70.nuwes.sea06.navy.mil ([140.178.70.3]) by kpt.nuwc.navy.mil with SMTP id AA00998
  91.   (5.65c/IDA-1.4.4 for winsock@SunSITE.Unc.EDU); Fri, 20 May 1994 08:31:10 -0700
  92. Received: by ms70.nuwes.sea06.navy.mil with Microsoft Mail
  93.     id <2DDCDA8D@ms70.nuwes.sea06.navy.mil>; Fri, 20 May 94 08:43:09 PDT
  94. From: West Mark                5741 <MarkW@ms70.nuwes.sea06.navy.mil>
  95. To: winsock <winsock@SunSITE.Unc.EDU>
  96. Subject: Re: WSAAsyncSelct() - iMsg = what?
  97. Date: Fri, 20 May 94 08:41:00 PDT
  98. Message-Id: <2DDCDA8D@ms70.nuwes.sea06.navy.mil>
  99. Encoding: 35 TEXT
  100. X-Mailer: Microsoft Mail V3.0
  101.  
  102.  
  103. Don't try this under Borland, their OWL steps all over the WM_USER + message 
  104. numbers, instead you must RegisterWindowsMessage at run time. This sad fact 
  105. had me seeing red when I discovered it. This is just one more reason why I 
  106. finally dumped Borland C++ for MS VC++.
  107.  
  108.  -Mark West
  109.  
  110.  ----------
  111. From: winsock
  112. To: Multiple recipients of list
  113. Subject: Re: WSAAsyncSelct() - iMsg = what?
  114. Date: Thursday, May 19, 1994 12:03PM
  115.  
  116.  
  117. In a previous article, dboone@fasttax.com (Doug Boone) says:
  118.  
  119. >
  120. >WM_USER + 1  Please refer to the Windows API documentation.
  121. >
  122. >Why assume what's documented?
  123. >
  124. >
  125.  
  126.  
  127.         Yes...I was stupid.  I forgot about the WM_USER id's.  Though I
  128. don't think the winsock spec mentioned this.
  129.  
  130.         Thanks to all those who replied.
  131.  
  132.  --
  133. +--------------------------------------------------------------------------+
  134. | Michael Comet, mbc@po.CWRU.Edu - CWRU, Software Engineer/Graphics Artist |
  135. | Computer Graphics/Animation! - Liquid Vision SIG (go liquid),  Freenet   |
  136. +--------------------------------------------------------------------------+
  137. From news@bigblue.oit.unc.edu Fri May 20 15:14:01 1994
  138. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  139.           id AA12435; Fri, 20 May 1994 12:55:10 -0400
  140. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  141.           id AA16371; Fri, 20 May 1994 12:33:19 -0400
  142. Received: from GATEWAY by bigblue with netnews
  143.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  144. To: winsock@sunsite.unc.edu
  145. Date: Fri, 20 May 1994 15:14:01 GMT
  146. From: gsegalli@ic1d.harris.com (Greg Segallis)
  147. Message-Id: <Cq3wzF.87E@news.ess.harris.com>
  148. Organization: Harris, GCSD
  149. Sender: ses
  150. Subject: NNTP Protocol
  151.  
  152. I am interested in trying my hand at winsock programming.  I want
  153. to start with a newsreader program.  I am looking for any references
  154. or sources (standards, ftp sites, etc.) for the NNTP protocol or
  155. anything related to newsreaders.  Please reply directly to my email
  156. address.
  157.  
  158. Thanks,
  159. Greg